package com.tannuo.dolphinnotedemo.sdk.device.protocol;

/**
 * Created by hucn on 2016/7/28.
 * Description: 一个解析结果的实现
 */
public class ZDMessage implements IMessage {

    // 消息内容
    private byte[] id;
    private int feature;
    private byte[] pointsContent;
    private byte[] commandContent;

    @Override
    public void setId(byte[] id) {
        this.id = id;
    }

    @Override
    public void setFeature(int feature) {
        this.feature = feature;
    }

    @Override
    public void setPointsContent(byte[] content) {
        this.pointsContent = content;
    }

    @Override
    public void setCommondContent(byte[] content) {
        this.commandContent = content;
    }

    @Override
    public byte[] getid() {
        return id;
    }

    @Override
    public int getFeature() {
        return feature;
    }

    @Override
    public byte[] getPointsContent() {
        return pointsContent;
    }

    @Override
    public byte[] getCommondContent() {
        return commandContent;
    }
}
